<?php

namespace common\widgets\markdown;

use yii\web\AssetBundle;

/**
 * Asset bundle for the Twitter bootstrap css files.
 *
 * @author emhome <emhome@163.com>
 * @since 2.0
 */
class MarkdownAsset extends AssetBundle {

    /**
     * debug模式时强制拷贝
     */
    public $publishOptions = [
        'forceCopy' => true//YII_DEBUG
    ];

    /**
     * @var array 包含的JS
     */
    public $js = [
        'highlight.pack.js',
    ];

    /**
     * @var array 包含的CSS
     */
    public $css = [
        'highlight.css',
        'styles/ocean.css',
    ];

    /**
     * @var array 定义依赖
     */
    public $depends = [
        'yii\web\JqueryAsset',
    ];

    public function init() {
        $this->sourcePath = __DIR__ . '/assets';
        parent::init();
    }

}
